package com.ztgf.commodity.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("commodity_sales_attributes_relation")
@ApiModel(value = "商品规格属性关系表对象", description = "商品规格属性关系表对象")
public class CommoditySalesAttributesRelationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "规格id")
    private Long specificationId;

    @ApiModelProperty(value = "规格属性表ids")
    private String attributesIds;

    @ApiModelProperty(value = "规格属性名称")
    private String attributesNames;
}
